﻿
using Xacml.Core;
using System;
using System.Xml;

namespace Xacml.Core.Context
{
  public class ResourceContentElement : ResourceContentElementReadWrite
  {
    public override XmlDocument XmlDocument
    {
      set
      {
        throw new NotSupportedException();
      }
    }

    public override bool IsReadOnly
    {
      get
      {
        return true;
      }
    }

    public ResourceContentElement(XmlDocument document, XacmlVersion schemaVersion)
      : base(document, schemaVersion)
    {
    }

    public ResourceContentElement(XmlReader reader, XacmlVersion schemaVersion)
      : base(reader, schemaVersion)
    {
    }
  }
}
